package cn.initcap.controller;

import cn.initcap.common.Result;
import cn.initcap.entity.SeckillUser;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author initcap
 * @date 2018/8/10 PM5:54
 */
@RestController
@RequestMapping("/user")
public class UserController {

    @RequestMapping("/info")
    public Result info(SeckillUser user) {
        return Result.success(user);
    }

}
